package com.zw.pm.module.integrate.progress;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zw.pm.module.project.build.ProjectModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * @Description: 完成时间 model
 *
 * @Author: China.sgl
 * @Date: 2019/12/6 08:42
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class ProgressModel extends ProjectModel {

    /** 附加属性，用于查询条件和搜索结果 */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date processStartTime;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date processPlanTime;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date processEndTime;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date produceStartTime;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date producePlanTime;
    private Integer consumeNum;
    private Integer notCompleteNum;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date produceEndTime;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date sprayStartTime;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date sprayPlanTime;
    private Integer sprayNum;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date sprayEndTime;
    private Integer packStatus;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date consumeEndTime;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date packEndTime;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date storeStartTime;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date storeEndTime;
}
